const mysql = require('mysql');
const wrapper = require('co-mysql');
const options = {
    host: '127.0.0.1',
    user: 'root',
    password: 'admin123',
    database: 'my_db_01'
};
const mydb = mysql.createPool(options);
const db = wrapper(mydb);
module.exports = db;